﻿using SQLDeployAnything.Data.Environment;
using System;

namespace SQLDeployAnything.Data.Deployment
{
    public class ScriptTask :Task
    {
        private string mScriptName;
        private string mOutput;
        private SQLConnection mConnection;

        public string ScriptFile 
        { 
            get { return mScriptName; }
            set 
            {
                mScriptName = value;
                OnPropertyChanged("ScriptFile");
            }
        }

        public SQLConnection SQLConnection 
        { 
            get { return mConnection; }
            internal set
            {
                mConnection = value;
                OnPropertyChanged("SQLConnection");
            }
        }

        public string OutputFile
        {
            get { return mOutput; }
            set
            {
                mOutput = value;
                OnPropertyChanged("OutputFile");
            }
        }

        public override void ExecuteTask()
        {
            throw new NotImplementedException();
        }

        protected override bool Validate()
        {
            throw new NotImplementedException();
        }
    }
}
